package com.shangguan.atcrowdfunding.manager.service;

import com.shangguan.atcrowdfunding.bean.User;

import java.util.List;
import java.util.Map;

/**
 * @ClassName: UserService
 * @Description: 用户业务逻辑
 * @Author: 一尘
 * @Date: 2020 年 01 月 14 11:04
 * @Version 1.0
 */

public interface UserService {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    User selectByPrimaryKey(Integer id);

    List<User> selectAll();

    int updateByPrimaryKey(User record);

    User queryUserLogin(Map<String,Object> paramMap);

    /*List<User> queryUserByPage( int startIndex,  int size);*/
    List<User> queryUserByPage( Map<String,Object> paramMap);

    List<User> selectLikeAll(Map<String ,Object> paramMap);
}
